{% extends "pythonems/bg_base.html" %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<!--body------start------>
<div class="crumbs neg non">>> 首页 >> 考试模块 >> 试题管理 >> <span class="edit_type">新增</span>试题</div>
<div class="bg_body posi" name="body">
    <div class="space"></div>
    <div class="sub_hr"><div><span class="edit_type">新增</span>试题&emsp;主干部分</div>
        <div></div></div>
    <div class="space"></div>
    <table class="new_question">
        <tr>
            <th>课程：</th>
            <td>
                <select id="major_selection"></select>
            </td>
        </tr>
        <tr>
            <th>知识点：</th>
            <td>
                <select size="9" id="char_selection"></select>
                <div id="zTreeContainer" >
                    <ul id="treeDemo" class="ztree"></ul>
                </div>
                <p>*<small>点击可选择知识点</small></p>
            </td>
        </tr>
        <tr>
            <th>摘要：</th>
            <td>
                <textarea id="description"></textarea>
                <p>*<small>试题简要内容，用于搜索</small></p>
            </td>
        </tr>
        <th>题型：</th>
            <td>
                <select id="category"></select>
            </td>
        </tr>
        <tr>
            <th>难易度：</th>
            <td>
                <select id="level">
                    <option value="1">易</option> 
                    <option value="2">中</option> 
                    <option value="3">难</option>
                </select>
            </td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input id="create_question" class="button" type="submit" value="保存"></input>
                <input id="update_question" class="button" style="display:none"
                       type="submit" value="保存"></input>
                <input id="edit_question_sub" class="button" type="submit" 
                       style="display:none" value="编辑其他内容"></input>
            </td>
        </tr>
    </table>
    <div class="space"></div>
</div>
<!--body------end------>
{% endblock %}